package Vue;



/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Taupe
 */
public class Piece {
        Case case1 = new Case();
        Case case2 = new Case();
        Case case3 = new Case();
        Case case4 = new Case();
     
        
        
    public Piece() {
    }

 
    
    
    public Piece nouvellePiece()
    {

        Piece p = new Piece();
        /*int rand=Tool.monRandom(7,1);
       
        switch(rand)
        {
            case 1:
                
                break;
            case 2:
                break;
            case 3:
                break;
            case 4:
                break;
            case 5:
                break;
            case 6:
                break;
            case 7:
                break;    
                
        }*/
        p.case1=new Case(4,9 , 2);  /*objet temporaire*/
        p.case2=new Case(4,8 , 2);
        p.case3=new Case(4,7 , 2);
        p.case4=new Case(4,8 , 2);
        return p;
    }
}
